/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Factory;

/**
 *
 * @author David
 */
public class ProgramFactory {

    
    
    public static ProgramN start(int i){
        switch (i){
            case 1: return new Program1();
            case 2: return new Program2(); 
            case 3: return new Program2(); 
            default:  return null;
        }
    }
}
